package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.apache.ibatis.type.Alias;

/**
 * 地图管理对象 map
 * 
 * @author zqh
 * @date 2022-06-29
 */

@Alias("my_map")
public class Map extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 地图名称 */
    @Excel(name = "地图名称")
    private String name;

    /** 最大纬度 */
    @Excel(name = "最大纬度")
    private Double latUp;

    /** 最小纬度 */
    @Excel(name = "最小纬度")
    private Double latDown;

    /** 最大经度 */
    @Excel(name = "最大经度")
    private Double lonUp;

    /** 最小经度 */
    @Excel(name = "最小经度")
    private Double lonDown;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLatUp(Double latUp) 
    {
        this.latUp = latUp;
    }

    public Double getLatUp() 
    {
        return latUp;
    }
    public void setLatDown(Double latDown) 
    {
        this.latDown = latDown;
    }

    public Double getLatDown() 
    {
        return latDown;
    }
    public void setLonUp(Double lonUp) 
    {
        this.lonUp = lonUp;
    }

    public Double getLonUp() 
    {
        return lonUp;
    }
    public void setLonDown(Double lonDown) 
    {
        this.lonDown = lonDown;
    }

    public Double getLonDown() 
    {
        return lonDown;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("latUp", getLatUp())
            .append("latDown", getLatDown())
            .append("lonUp", getLonUp())
            .append("lonDown", getLonDown())
            .toString();
    }
}
